package com.sike.netty.im.common.command;

import com.sike.netty.im.common.enums.CommandTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 单聊请求指令
 *
 * @author chenssy
 * @date 2023/09/16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OneChatResponseCommand extends AbstractResponseCommand{

    /**
     * 单聊消息
     */
    private String message;

    /**
     * 目标用户
     */
    private String fromUserName;

    @Override
    public Integer getCommandType() {
        return CommandTypeEnum.ONE_CHAT_RESPONSE_COMMAND.getCommandType();
    }
}
